<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix ="c" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
    
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<h1><bean:message key="display.welcome"/></h1>
<table border ="2">
<tr>
		<th> CARNUMBER </th>
		<th> CARMODEL </th>
		<th> CARTYPE </th>
		<th> CARYEAR </th>
	
</tr>


 <c:forEach  items = "${carsdisplay}" var="eachcar" >

	<tr>
		<td>${eachcar.carnumber}</td>
		<td>${eachcar.carmodel}</td>
		<td>${eachcar.cartype}</td>
		<td>${eachcar.caryear}</td>
	</tr>



</c:forEach>



</table>








</body>
</html>